Calculation of Weights in Finite Difference Formulas∗
نویسنده
چکیده
The classical techniques for determining weights in finite difference formulas were either computationally slow or very limited in their scope (e.g., specialized recursions for centered and staggered approximations, for Adams–Bashforth-, Adams–Moulton-, and BDF-formulas for ODEs, etc.). Two recent algorithms overcome these problems. For equispaced grids, such weights can be found very conveniently with a two-line algorithm when using a symbolic language such as Mathematica (reducing to one line in the case of explicit approximations). For arbitrarily spaced grids, we describe a computationally very inexpensive numerical algorithm.
منابع مشابه
ساختن روشهای تفاضلات متناهی مبتنی بر توابع پایه شعاعی و استفاده از آنها برای حل معادلات دیفرانسیل با هندسه دلخواه
In this paper we, obtain the weight of radial basis finite difference formula for some differential operators. These weights are used to obtain the local truncation error in powers of the inter-node distance and the shape parameter of radial basis functions. We show that for each difference formula, there is a value of the shape parameter for which RBF-FD formulas are more accurate than the cor...
متن کاملA New Finite Difference Method For The Helmholtz Equation Using Symbolic Computation
A new finite difference method for the Helmholtz equation is presented. The method involves replacing the standard “weights” in the central difference quotients (Sects. 2.1, 2.2, and 2.3) by weights that are optimal in a sense that will be explained in the Sects. just mentioned. The calculation of the optimal weights involves some complicated and error prone manipulations of integral formulas t...
متن کاملStable calculation of Gaussian-based RBF-FD stencils
Traditional finite difference (FD) methods are designed to be exact for low degree polynomials. They can be highly effective on Cartesian-type grids, but may fail for unstructured node layouts. Radial basis function-generated finite difference (RBF-FD) methods overcome this problem and, as a result, provide a much improved geometric flexibility. The calculation of RBF-FD weights involves a shap...
متن کاملNumerical quadrature over the surface of a sphere
Large-scale simulations in spherical geometries require associated quadrature formulas. Classical approaches based on tabulated weights are limited to specific quasi-uniform distributions of relatively low numbers of nodes. By using a radial basis function-generated finite differences (RBF-FD) based approach, the proposed algorithm creates quadrature weights for N arbitrarily scattered nodes in...
متن کاملNumerical Methods versus Bjerksund and Stensland Approximations for American Options Pricing
Numerical methods like binomial and trinomial trees and finite difference methods can be used to price a wide range of options contracts for which there are no known analytical solutions. American options are the most famous of that kind of options. Besides numerical methods, American options can be valued with the approximation formulas, like Bjerksund-Stensland formulas from 1993 and 2002. Wh...
متن کامل